package com.rightsidetech.http.aspect;
/**
 * @ClassName Auth
 * @Description  授权控制注解
 * @Author yinj
 * @Date 2021-5-14 14:33:01
 * @Version 1.0
 */

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target({TYPE, METHOD})
@Retention(RUNTIME)
@Documented
public @interface Auth {
    /**
     * 运营端
     */
    String OPERATOR = "OPERATOR";

    /**
     * 代理商端
     */
    String AGENT = "AGENT";
    /**
     * 业务类型
     * @return
     */
    String bizType();  //值为业务类型
}
